package com.ruoyi.system.domain.cust;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.domain.MaterialExp;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@TableName("bas_cust")
@Data
public class BasCust extends MaterialExp implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 客商主键ID
     */
    @TableId(value = "custId", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long custId;

    /**
     * 客商编号
     */
    private String custNo;

    /**
     * 客户产品名称
     */
    private String custName;

    /**
     * 税率
     */
    private BigDecimal cess;

    /**
     * 扣税类型;A表示不含税,B表示应税内含,C表示应税外加
     */
    private String invoice;

    private  Integer pass;



}
